package com.yxy.model;


import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;
import tk.mybatis.mapper.code.ORDER;

import java.util.Date;
import java.math.BigDecimal;

import javax.persistence.*;

//开会
@Data
@Entity
@Table(name = "table_talking",schema = "")
public class TableTalking {

  //null
  @Id
  @KeySql(useGeneratedKeys = true,sql = "SELECT @@IDENTITY",order = ORDER.AFTER)
  @Column(name = "id")
  private Long id;

  //会议编码，如果不填写，系统自动生成
  @Column(name = "talk_code")
  private String talkCode;

  //会议主题
  @Column(name = "talk_name")
  private String talkName;

  //开会部门
  @Column(name = "department_name")
  private String departmentName;

  //参会部门编码
  @Column(name = "department_code")
  private String departmentCode;

  //参会人员工号
  @Column(name = "user_code")
  private String userCode;

  //参会人员
  @Column(name = "user_name")
  private String userName;

  //会议内容
  @Column(name = "talk_text")
  private String talkText;

  //会议日期
  @Column(name = "talk_date")
  private String talkDate;

  //会议时长
  @Column(name = "talk_time")
  private BigDecimal talkTime;

  //会议附件文件url
  @Column(name = "talk_file_url")
  private String talkFileUrl;

  //会议附件文件姓名
  @Column(name = "talk_file_name")
  private String talkFileName;

  //会议记录人
  @Column(name = "talk_record_person")
  private String talkRecordPerson;

  //会议室门牌号
  @Column(name = "meeting_code")
  private String meetingCode;

  //会议室名称
  @Column(name = "meeting_name")
  private String meetingName;

  //会议开始时间
  @Column(name = "talk_start_time")
  private String talkStartTime;

  //会议结束时间
  @Column(name = "talk_end_time")
  private String talkEndTime;

  //null
  @Column(name = "create_date")
  private Date createDate;

  //null
  @Column(name = "create_user_id")
  private Long createUserId;

  //null
  @Column(name = "create_user_name")
  private String createUserName;

  //null
  @Column(name = "update_date")
  private Date updateDate;

  //null
  @Column(name = "update_user_id")
  private Long updateUserId;

  //null
  @Column(name = "update_user_name")
  private String updateUserName;


  //null
  @Column(name = "tenant_id")
  private Long tenantId;


}
